package com.example.platformsharedcommon.entity.permission;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable {
    /**
    用户ID
     *
     * @mbg.generated
     */
    private Integer id;

    /**
    组织ID
     *
     * @mbg.generated
     */
    private Integer orgId;

    /**
    用户代码, 登录账号
     *
     * @mbg.generated
     */
    private String userCode;

    /**
    密码
     *
     * @mbg.generated
     */
    private String password;

    /**
    用户姓名
     *
     * @mbg.generated
     */
    private String userName;

    /**
    盐
     *
     * @mbg.generated
     */
    private String salt;

    /**
    手机
     *
     * @mbg.generated
     */
    private String mobile;

    /**
    邮箱
     *
     * @mbg.generated
     */
    private String email;

    /**
    状态,  1正常,  0禁用
     *
     * @mbg.generated
     */
    private Integer status;

    /**
    创建人ID
     *
     * @mbg.generated
     */
    private Integer createUserId;

    /**
    创建人姓名
     *
     * @mbg.generated
     */
    private String createUserName;

    /**
    创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
    修改人ID
     *
     * @mbg.generated
     */
    private Integer updateUserId;

    /**
    修改人姓名
     *
     * @mbg.generated
     */
    private String updateUserName;

    /**
    修改时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
    乐观锁
     *
     * @mbg.generated
     */
    private Integer version;

    /**
    角色id集合, 逗号隔开
     *
     * @mbg.generated
     */
    private String roleIds;

    /**
    国家Id
     *
     * @mbg.generated
     */
    private Integer countryId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table user
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
    用户ID
     *
     * @mbg.generated
     */
    public Integer getId() {
        return id;
    }

    /**
    用户ID
     *
     * @mbg.generated
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
    组织ID
     *
     * @mbg.generated
     */
    public Integer getOrgId() {
        return orgId;
    }

    /**
    组织ID
     *
     * @mbg.generated
     */
    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    /**
    用户代码, 登录账号
     *
     * @mbg.generated
     */
    public String getUserCode() {
        return userCode;
    }

    /**
    用户代码, 登录账号
     *
     * @mbg.generated
     */
    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    /**
    密码
     *
     * @mbg.generated
     */
    public String getPassword() {
        return password;
    }

    /**
    密码
     *
     * @mbg.generated
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
    用户姓名
     *
     * @mbg.generated
     */
    public String getUserName() {
        return userName;
    }

    /**
    用户姓名
     *
     * @mbg.generated
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
    盐
     *
     * @mbg.generated
     */
    public String getSalt() {
        return salt;
    }

    /**
    盐
     *
     * @mbg.generated
     */
    public void setSalt(String salt) {
        this.salt = salt;
    }

    /**
    手机
     *
     * @mbg.generated
     */
    public String getMobile() {
        return mobile;
    }

    /**
    手机
     *
     * @mbg.generated
     */
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    /**
    邮箱
     *
     * @mbg.generated
     */
    public String getEmail() {
        return email;
    }

    /**
    邮箱
     *
     * @mbg.generated
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
    状态,  1正常,  0禁用
     *
     * @mbg.generated
     */
    public Integer getStatus() {
        return status;
    }

    /**
    状态,  1正常,  0禁用
     *
     * @mbg.generated
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
    创建人ID
     *
     * @mbg.generated
     */
    public Integer getCreateUserId() {
        return createUserId;
    }

    /**
    创建人ID
     *
     * @mbg.generated
     */
    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    /**
    创建人姓名
     *
     * @mbg.generated
     */
    public String getCreateUserName() {
        return createUserName;
    }

    /**
    创建人姓名
     *
     * @mbg.generated
     */
    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    /**
    创建时间
     *
     * @mbg.generated
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
    创建时间
     *
     * @mbg.generated
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
    修改人ID
     *
     * @mbg.generated
     */
    public Integer getUpdateUserId() {
        return updateUserId;
    }

    /**
    修改人ID
     *
     * @mbg.generated
     */
    public void setUpdateUserId(Integer updateUserId) {
        this.updateUserId = updateUserId;
    }

    /**
    修改人姓名
     *
     * @mbg.generated
     */
    public String getUpdateUserName() {
        return updateUserName;
    }

    /**
    修改人姓名
     *
     * @mbg.generated
     */
    public void setUpdateUserName(String updateUserName) {
        this.updateUserName = updateUserName;
    }

    /**
    修改时间
     *
     * @mbg.generated
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
    修改时间
     *
     * @mbg.generated
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
    乐观锁
     *
     * @mbg.generated
     */
    public Integer getVersion() {
        return version;
    }

    /**
    乐观锁
     *
     * @mbg.generated
     */
    public void setVersion(Integer version) {
        this.version = version;
    }

    /**
    角色id集合, 逗号隔开
     *
     * @mbg.generated
     */
    public String getRoleIds() {
        return roleIds;
    }

    /**
    角色id集合, 逗号隔开
     *
     * @mbg.generated
     */
    public void setRoleIds(String roleIds) {
        this.roleIds = roleIds;
    }

    /**
    国家Id
     *
     * @mbg.generated
     */
    public Integer getCountryId() {
        return countryId;
    }

    /**
    国家Id
     *
     * @mbg.generated
     */
    public void setCountryId(Integer countryId) {
        this.countryId = countryId;
    }
}